import {createRouter, createWebHashHistory} from "vue-router"

const routes = [
    {
        path: "/",
        name: "index",
        component: ()=> import("../view/index.vue")
    },
    {
        path: "/view2",
        name: "view2",
        component: ()=> import("../view/view2.vue")
    }
];

const router = createRouter({
    history: createWebHashHistory(),
    routes
});

export default router